import { http } from '@/http/http'
import {
  IGetPrescriptionListRequest,
  IGetPrescriptionListResponse
} from './types/prescription'

/**
 * 获取处方列表
 * @param params 查询参数
 */
export function getPrescriptionList(params: IGetPrescriptionListRequest) {
  return http.get<IGetPrescriptionListResponse>('/patient/consult/prescription', params)
}